class CreateTodos < ActiveRecord::Migration
  def self.up
    create_table :todos do |t|
      t.column :name, :string
      t.column :project_id, :integer
      t.column :milestone_id, :integer
      t.column :body, :text
      t.column :private, :boolean
    end
  end

  def self.down
    drop_table :todos
  end
end
